﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Palsta.Core.data
{
    class DataDictionary
    {
        private Hashtable values = new Hashtable();

        public virtual Hashtable Fields
        {
            get
            {
                return this.values;
            }
        }

        public Field GetField(String name)
        {
            return (Field)this.values[name];
        }

        public void AddField(String name, Field f)
        {
            this.values.Add(name, f);
        }
    }
}
